package com.CST.service;

import com.CST.common.api.Response;
import com.CST.entity.RuleDirectamortization;
import com.CST.entity.selectInfo;
import com.CST.request.RuleCompelamortizationrequest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ly
 * @since 2021-10-27
 */
public interface IRuleDirectamortizationService extends IService<RuleDirectamortization> {

    List<RuleDirectamortization> getDirectaAllocation(RuleDirectamortization entity);

    List<selectInfo> getYearMonth();

    RuleDirectamortization getDirectaAllocationById(RuleDirectamortization entity);

    Response addDirectaAllocation(RuleDirectamortization entity);

    Response insertBatchDirectaAllocationn(RuleDirectamortization entity);

    Response modifyDirectaAllocation(RuleDirectamortization entity);

    Response batchDeleteDirectaAllocation(List<Integer> ids);

}
